﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Html;
using MvcApplication5.Core;
namespace MvcApplication5.Helpers
{
    public static class PaginatorHelper
    {
        public static MvcHtmlString Paginator(this HtmlHelper helper, IPageInfo pageInfo)
        {
            return helper.Partial(Core.Constants.PaginatorTemplate, pageInfo);
        }
    }
}